import request from '@/utils/request'
// 获取文章分类列表
export const getCategoryAPI = () => request.get('/my/cate/list')

// 添加文章分类
export const addCategoryAPI = data => request.post('/my/cate/add', data)

// 删除文章分类
export const deleteCategoryAPI = id => request.delete('/my/cate/del', { params: { id } })

// 修改文章分类
export const updateCategoryAPI = data => request.put('/my/cate/info', data)
